import {createBrowserRouter} from "react-router-dom"
import App from "../App";
import List from "../List"

const router = createBrowserRouter([
    {
        path: "/",
        element: <App/>,
        children: [
            {
                path: "list",
                element: <List/>
            }
        ]
    }
])

export default router